package DBLayer;

import java.util.ArrayList;

import ModelLayer.TrainingGroup;

public interface DBTrainingGroupIF
{
	public ArrayList<TrainingGroup> getAllTrainingGroup(boolean retriveAssociation);
    public TrainingGroup searchTrainingGroupID(int trainingGroupID, boolean retriveAssociation);
    public TrainingGroup searchTrainingGroupName(String name, boolean retriveAssociation);

    public int insertTrainingGroup(TrainingGroup tg);
    public int updateTrainingGroup(TrainingGroup tg);
    public int delete(int id);
}
